

  	<#include "../include/comm_jlb_macro.ftl"/>
<html>
	<head>
	<title></title>
	<@gmc_common_js "select" />
</head>
	<body>
	<div class="right">
    <div class="location">
     <div class="location01">您现在的位置是：首页 &gt; <span id='zeroLevel'></span> &gt;<strong class="m_title"></strong></div>
    </div>
    <div class="sort">
     <div class="query">
  	
	<form id="queryForm" >
	<ul>
			 <li style="width:22%">
		       	<span class="classify">群号：</span>
		    	<input name="number" type="text"   class="input"  id="number" value="${number!''}"/>
		      </li>
		       <li style="width:22%">
		       	<span class="classify">群名称：</span>
		    	<input name="nameT" type="text" class="input"  id="nameT" value="${nameT!''}"/>
		      </li>
			       <li style="width:15%">
			       	<span class="classify">群分类：</span>
			    	<select id="category" name="category">
			    		 <option value="" > 请选择 </option>
			    		    <#list DictionaryUtil.getTypes(DictionaryType.JOB_POSITION.getCode()) as c>
			    		 		 <option value="${c.dictionaryId}" <#if  category?? && category!="" > <#if category=='${c.dictionaryId}'> selected </#if> </#if>  > ${c.showName!''} </option>
			 			 	</#list>
			    	</select>
			       </li>
			       <li style="width:15%">
			       	<span class="classify">分配状态：</span>
			    	<select id="assignmentStatus" name="assignmentStatusCode">
			    		 <option value="" > 请选择 </option>
			    		 <#list AssignmentStatus.values() as c>
			    		 	 <option value="${c.code}" <#if  assignmentStatusCode?? && assignmentStatusCode!="" > <#if assignmentStatusCode=='${c.code}'> selected </#if> </#if>  > ${c.title!''} </option>
			    		 </#list>
			    	</select>
			       </li>
			       
		    <li style="width:5%"><a href="javascript:void(0)">
  		 		<button type="button" class="btn btn-default" id="queryBtn" >查&nbsp;询</button>
       		</li>
      </ul>
      
  </form>
     </div>
    </div>
    <div class="form">
      <#if subject.isPermitted("accountExpandInfo:detail")>  <#--tgQqGroup:add  -->
    		<div class="btn-group">
			  <button type="button" class="btn btn-default"  onclick="tgQqgroup.toAdd();">添加</button>
	      	</div>
     </#if>
     <div class="form2">
     
<table width="100%"  border="1" align="left" cellpadding="0" cellspacing="0" bordercolor="#ffffff" style="border-collapse:collapse">
      <tr class="lan">
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong><input id="selectAll" name="selectAll" type="checkbox" value="" />全选</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>序号</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>群号</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>群名称</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>群分类</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>分配状态</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>备注</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>录入人</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>录入时间</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>操 作</strong></td>
       </tr>
       
       <#assign item = 1>
       <#list pager.data as c>
       <tr>
       	  <td align="center" class="hui"><input name="selectItem" type="checkbox" value="${c.id}" <#if c.assignmentStatusCode?? && c.assignmentStatusCode==AssignmentStatus.ASSIGNED.getCode()>disabled="true"</#if>/></td>
       	  <td align="center" class="hui">${item}</td>
		  <td align="center" class="hui">${c.number!''}</td>
		  <td align="center" class="hui">${c.name!''}</td>
	 	  <td align="center" class="hui">
	 	  <#if c.category??>
	 	    	${DictionaryUtil.getName(DictionaryType.JOB_POSITION.getCode(), c.category)} 
	 	  </#if>
	 	  </td>
	 	  <td align="center" class="hui">${c.assignmentStatusName!''}</td>
		  <td align="center" class="hui">${c.validateMessage!''}</td>
		  
		  <td align="center" class="hui">
		 	  <#if c.inPersonName??>
		 	    	${c.inPersonName}
		 	  </#if>
	 	  </td>
        
		 <td align="center" class="hui">
			 <#if c.inTime??>
        	 	 ${c.inTime?string("yyyy-MM-dd HH:mm:ss")}
 		 	 </#if>
	 	 </td>
	 	 
		 <td align="center" class="hui" style="width:100px;"  >
	       	<div class="btn-group">
      			<#if subject.isPermitted("accountExpandInfo:detail")>  <#--tgQqGroup:edit  -->
				  <button type="button" class="btn btn-default"  onclick="tgQqgroup.toEdit('${c.id}')">修改</button>
				 </#if>
	      	</div>
        </td>
       </tr>
        <#assign item = item + 1>
       </#list>
      </table>
    
     </div>
      <div class="btn-group">
			  <button type="button" class="btn btn-default"  onclick="tgQqgroup.toAssign();">分配群管理</button>
	      	</div>
     <@pageBar   pager=pager url="/tgQqGroup/list.action?jsonParam=${jsonParam!''}" join="&"> </@pageBar> 
    
    </div>
   </div>
  <!-- 弹窗 结束 -->
	<#include "../include/deleteConfirmModal.ftl">
    <script src="/js/tgQqgroup.js"></script>
    <script>
		tgQqgroup.initPage();
	</script>
</html>



